package welsir.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import welsir.entity.dos.Setting;
import welsir.entity.dos.Tag;
import welsir.mapper.SettingMapper;
import welsir.mapper.TagMapper;
import welsir.service.ISettingService;
import welsir.service.ITagService;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Genius
 * @date 2023/03/07 17:35
 **/
@Service
public class ITagServiceImpl extends ServiceImpl<TagMapper, Tag> implements ITagService {

    @Resource
    TagMapper tagMapper;

    @Override
    public List<Tag> getAllTage() {
        return tagMapper.selectList(null);
    }
}
